package webbandidong.validator;

import org.springframework.validation.Errors;
import org.springframework.validation.Validator;
import webbandidong.viewmodel.AddMobileViewModel;

public class AddMobileValidator implements Validator {

    public boolean supports(Class clazz) {
        return AddMobileViewModel.class.isAssignableFrom(clazz);
    }

    public void validate(Object target, Errors errors) {
        throw new UnsupportedOperationException("Not supported yet.");
    }
}
